getDrawable
Returns a drawable object associated with a particular resource ID.
Starting in LOLLIPOP, the returned drawable will be styled for the specified Context's theme.
Return
Drawable An object that can be used to draw this resource.
Parameters
context
context to use for getting the drawable.
id
The desired resource identifier, as generated by the aapt tool. This integer encodes the package, type, and resource entry. The value 0 is an invalid identifier.